using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Inventory {
	public class ItemUpgrade:ItemBase {

		public override Sprite sprite => content.upgradeData.sprite;
		public override string name => content.name;
		public override string descr => content.description;

		public override ItemPickup DropItem(Vector2 position) {
			return UpgradePickup.Create(position,content);
		}

		public ItemUpgrade(UpgradeInstance content) {
			this.content=content;
		}

		public UpgradeInstance content {
			get; 
			private set;
		}


	}
}